Skip to content

Bug 2052696: Fix 002goodperl test failures#165

Open
justdave wants to merge 3 commits into
mainfrom
bug-2052696-harmony
Open

Bug 2052696: Fix 002goodperl test failures#165
justdave wants to merge 3 commits into
mainfrom
bug-2052696-harmony

Conversation

@justdave

@justdave justdave commented Jul 5, 2026

Copy link
Copy Markdown
Member

Details

Fixes a bunch of test failures for extensions that ship disabled with harmony.

Additional info

Test Plan

  1. Enable all of the extensions that ship disabled:
    find extensions -name disabled -maxdepth 2 -exec rm {} \;
  2. Run the test suite:
    sh docker/run-tests-in-docker.sh
    pick Option 6

@justdave justdave requested review from dylanwh and mrenvoize July 5, 2026 07:02
use strict;
use warnings;

%strings = (feature_example_acme => 'Example Extension: Acme Feature',);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line will now throw a warning:

perl -c extensions/Example/template/en/default/setup/strings.txt.pl
Global symbol "%strings" requires explicit package name (did you forget to declare "my %strings"?) at extensions/Example/template/en/default/setup/strings.txt.pl line 24.
extensions/Example/template/en/default/setup/strings.txt.pl had compilation errors.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see.. we skip the 'use strict' in the top-level template/en/default/setup/strings.txt.pl.. we should probably also do that here too.. or better use:

our %strings = (feature_example_acme => 'Example Extension: Acem Feature',);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants